
all: parse_fb2 make_tfidf cos

#parse_fb2: parse_fb2.cc io.h book.h
#	g++ -std=c++11 -DUSE_TURGLEM -g -I/usr/include/libxml2 -Ilibturglem/include -IlibMAFSA/include parse_fb2.cc -lxml2 -larchive -lm libturglem/build/libturglem-st.a libturglem/build/libturglem-russian-st.a libMAFSA/build/libMAFSA.a -o parse_fb2

parse_fb2: parse_fb2.cc io.h book.h words.h
	g++ -std=c++11 -g -I/usr/include/libxml2 parse_fb2.cc -lxml2 -larchive -lunistring -lm -o parse_fb2

make_tfidf: make_tfidf.cc io.h book.h words.h
	g++ -std=c++11 -g make_tfidf.cc -lm -o make_tfidf

cos: cos.cc io.h book.h words.h
	g++ -std=c++11 -g cos.cc -lm -o cos

